package com.example.demo.service.impl;

import com.example.demo.mapper.BalanceMapper;
import com.example.demo.pojo.vo.BalanceListVO;
import com.example.demo.service.IBalanceService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class IBalanceServiceImpl implements IBalanceService {
    @Autowired
    private BalanceMapper balanceMapper;

    @Override
    public List<BalanceListVO> list(){
        List<BalanceListVO> list = balanceMapper.list();
        return list;
    }
}
